package com.urfresh.sp.flume.dto.v1;

public class UserInfo {

    String w_ck;
    String u_uid;
    String u_lat;
    String u_lon;
    String u_pid;
    String ip;
    String app_id;
    String openid;
    String mo;
    String ct;

    public String getMo() {
        return mo;
    }

    public void setMo(String mo) {
        this.mo = mo;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    public String getCt() {
        return ct;
    }

    public void setCt(String ct) {
        this.ct = ct;
    }

    /**
     * ����user����
     *
     * @param appId
     * @param ip
     * @param wck
     * @param uid
     * @param lat
     * @param lon
     * @param pid
     * @return
     */
    public static UserInfo build(String appId, String ip, String wck, String uid, String lat, String lon,
                                 String pid, String mo, String openid, String ct) {
        UserInfo ui = new UserInfo();
        ui.setW_ck(wck);
        ui.setU_uid(uid);
        ui.setU_lat(lat);
        ui.setU_lon(lon);
        ui.setU_pid(pid);
        ui.setIp(ip);
        ui.setApp_id(appId);
        ui.setMo(mo);
        ui.setOpenid(openid);
        ui.setCt(ct);
        return ui;
    }

    public String getIp() {
        return ip;
    }


    public void setIp(String ip) {
        this.ip = ip;
    }


    public String getW_ck() {
        return w_ck;
    }

    public void setW_ck(String w_ck) {
        this.w_ck = w_ck;
    }

    public String getU_uid() {
        return u_uid;
    }

    public void setU_uid(String u_uid) {
        this.u_uid = u_uid;
    }

    public String getU_lat() {
        return u_lat;
    }

    public void setU_lat(String u_lat) {
        this.u_lat = u_lat;
    }

    public String getU_lon() {
        return u_lon;
    }

    public void setU_lon(String u_lon) {
        this.u_lon = u_lon;
    }

    public String getU_pid() {
        return u_pid;
    }

    public void setU_pid(String u_pid) {
        this.u_pid = u_pid;
    }

}
